/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package d20chat;

import java.io.File;
import java.io.FileNotFoundException;
import javax.swing.JScrollPane;

/**
 *
 * @author Arul
 */
public interface CharSheet {

    public void updateStr();
    public void updateDex();
    public void updateCon();
    public void updateInt();
    public void updateWis();
    public void updateCha();

    public void updateTmpStr();
    public void updateTmpDex();
    public void updateTmpCon();
    public void updateTmpInt();
    public void updateTmpWis();
    public void updateTmpCha();

    public void setHP(int newHP);
    public int getHP();

    public int getHashCode();

    public String getCharName();
    public int getSkillPts();
    public String getDefault();
    public String getRoll(String rollName);
    
    public JScrollPane getPage1();
    public JScrollPane getPage2();
    
    public boolean isPlayerSheet();
    public void setPlayerSheet(boolean b);
    
    public void setData(String newData);
    public void setData(File inFile) throws FileNotFoundException;
    
    public void save();
    public void saveAs();
    public void open();

    public void dispose();
}
